package com.ssm.service;

import com.github.pagehelper.PageInfo;
import com.ssm.base.BaseService;
import com.ssm.entity.House;
import com.ssm.vo.HouseQueryVo;
import com.ssm.vo.HouseVo;

/**
 * @Author jie_ge
 * @Date 2022/4/18
 */
public interface HouseService extends BaseService<House> {
    /**
     * 房屋发布状态
     * @param id
     * @param status
     */
    public  void publish(Long id,Integer status);

    /**
     * 查询分页列表
     * @param pageNum
     * @param pageSize
     * @param houseQueryVo
     * @return
     */
    PageInfo<HouseVo> findListPage(int pageNum, int pageSize, HouseQueryVo houseQueryVo);
}
